<?php

/* @var $this \yii\web\View */

use yii\helpers\Html;

/* @var $content string */

?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
  <meta charset="<?= Yii::$app->charset ?>">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <?= Html::csrfMetaTags() ?>
  <title><?= Html::encode($this->title) ?></title>
  <?php $this->head() ?>
  <style>
    * {
      margin: 0;
      padding: 0;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }
    *:before, *:after {
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }
    body {
      margin: 0;
      padding: 0;
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
      line-height: 1.333;
      font-size: 12px;
      color: #333;
      background-color: #fff;
    }
    html, body {
      height: 100%;
    }
    a {
      color: #337ab7;
      text-decoration: none;
    }
    li {
      list-style: none;
    }
    .pull-left {
      float: left;
    }
    .pull-right {
      float: right;
    }
    .text-center {
      text-align: center!important;
    }
    .wrap {
      min-height: 100%;
      height: auto;
      margin: 0 auto -60px;
      padding: 0 0 60px;
    }
    .navbar {
      position: relative;
      height: 50px;
      margin-bottom: 20px;
      border: 0px solid transparent;
    }
    .navbar-inverse {
      background-color: #222;
      border-color: #080808;
    }
    .navbar-theme-info {
      background-color: #51b7ec;
      border-color: #51b7ec;
    }
    .container {
      padding-right: 15px;
      padding-left: 15px;
      margin-right: auto;
      margin-left: auto;
    }
    .navbar>.container {
      max-width: 688px;
      min-width: 305px;
      width: auto!important;
      width: 688px;
      margin: 0 auto;
    }
    .navbar-brand {
      float: left;
      height: 50px;
      padding: 15px 15px;
      font-size: 18px;
      line-height: 20px;
    }
    .navbar-inverse .navbar-brand {
      color: #fff;
      font-weight: bold;
    }
    .navbar-nav {
      margin: 0;
    }
    .nav {
      padding-left: 0;
      margin-bottom: 0;
      list-style: none;
    }
    .navbar-right {
      float: right!important;
      margin-right: -15px;
    }
    .nav > li {
      position: relative;
      display: block;
      float: left;
    }
    .nav > li > a,
    .nav > li > span {
      position: relative;
      display: block;
      padding: 15px 2px;
    }
    .navbar-nav > li > a,
    .navbar-nav > li > span {
      padding-top: 15px;
      padding-bottom: 15px;
      line-height: 20px;
      color: #fff;
    }
    .navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
      color: #f0f0f0;
      text-decoration: underline;
    }
    .navbar-nav > li > .line {
      line-height: 18px;
    }
    .oauth2-login {
      max-width: 688px;
      width: auto!important;
      width: 688px;
      margin: 5px auto 0 auto;
    }
    .title {
      font-size: 20px;
      color: #333;
      margin-bottom: 16px;
    }
    .oauth2-login .web-login {
      width: 433px;
      margin: 0 auto;
      position: relative;
    }
    .border-right {
      border-right: 1px dotted #e3e3e3;
    }
    .web-login .login-form {
      width: 272px;
      margin: 0 auto;
    }
    .form-group {
      margin-bottom: 20px;
    }
    .form-input {
      display: block;
      width: 100%;
      height: 38px;
      padding: 6px 12px;
      font-size: 14px;
      line-height: 1.42857143;
      color: #555;
      background-color: #fff;
      background-image: none;
      border: 1px solid #ccc;
      border-radius: 4px;
      -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
      -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
      -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
      transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    }
    .form-input:focus {
      border-color: #51b7ec;
      -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
      box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    }
    .btn {
      display: inline-block;
      padding: 6px 12px;
      margin-bottom: 0;
      font-size: 14px;
      font-weight: normal;
      line-height: 1.42857143;
      text-align: center;
      white-space: nowrap;
      vertical-align: middle;
      -ms-touch-action: manipulation;
      touch-action: manipulation;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      background-image: none;
      border: 1px solid transparent;
      border-radius: 4px;
    }
    .btn-max-width {
      width: 100%;
    }
    .btn:active, .btn.active {
      background-image: none;
      outline: 0;
      -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
      box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    }
    .btn:hover, .btn:focus, .btn.focus {
      color: #333;
      text-decoration: none;
    }
    .btn-success {
      color: #fff;
      background-color: #5cb85c;
      border-color: #4cae4c;
    }
    .btn-success:hover {
      color: #fff;
      background-color: #449d44;
      border-color: #398439;
    }
    .btn-success:active {
      color: #fff;
      background-color: #449d44;
      border-color: #398439;
    }
    .btn-success:active:hover {
      color: #fff;
      background-color: #398439;
      border-color: #255625;
    }
    .bottom {
      height: 16px;
      margin-bottom: 8px;
      margin-right: 20px;
      width: 100%;
      text-align: right;
      font-size: 12px;
    }
    .bottom .link {
      color: #666;
    }
    .bottom .dotted {
      color: #bfbfbf;
      margin: 0 5px;
    }
    .authorize-box {
      width: 254px;
    }
    .authorize-box .content {
      margin-top: 22px;
      margin-left: 27px;
    }
    .authorize-box .app-site-word {
      border-top: 1px dotted #e2e2e2;
      padding-top: 12px;
      font-size: 12px;
    }
    .authorize-box .app-site {
      margin-right: 12px;
    }
    .authorize-box .access-info {
      margin-top: 12px;
      overflow: hidden;
      transition-property: height;
      transition-duration: .5s;
    }
    .select-all-li {
      border-top: 1px dotted #e2e2e2!important;
      border-bottom: 1px dotted #e2e2e2!important;
    }
    .access-list li {
      height: 31px;
      border: 1px;
      color: #666;
    }
    .oauth-checkbox-all, .oauth-checkbox {
      display: block;
      float: left;
      height: 100%;
      width: 13px;
    }
    .oauth-item-title {
      display: block;
      float: left;
      height: 100%;
      line-height: 31px;
      margin-left: 10px;
    }
    .access-list label {
      cursor: pointer;
    }
    .oauth-tips-box {
      margin-top: 30px;
    }
  </style>
</head>
<body>
<?php $this->beginBody() ?>

<div class="wrap">
  <nav class="navbar-inverse navbar navbar-theme-info">
    <div class="container">
      <div class="navbar-header pull-left">
        <a class="navbar-brand">授权登录</a>
      </div>
      <div class="collapse navbar-collapse">
        <ul id="w1" class="navbar-nav navbar-right nav">
          <li><a href="#" title="什么是统一登录">统一登录</a></li>
          <li><span class="line">|</span></li>
          <li><a href="#">授权管理</a></li>
          <li><span class="line">|</span></li>
          <li><a href="#">申请接入</a></li>
        </ul>
      </div>
    </div>
  </nav>
  <div class="container">
    <?= $content ?>
  </div>
</div>


<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
